<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Technician_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-technician_id"  data-source="technician/technician/index" class="form-control selectpage" name="row[technician_id]" type="text" value="{$row.technician_id|htmlentities}" data-field="technician_name" data-primary-key="technician_id">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serve_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serve_id" data-rule="required" data-source="store/serve/index" class="form-control selectpage" name="row[serve_id]" type="text" value="{$row.serve_id|htmlentities}" data-field="serve_name">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('服务分类')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serve_cid" class="form-control selectpage" data-source="store/servec/index"name="row[serve_cid]" type="text" value="{$row.serve_cid|htmlentities}" data-field="cname">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_id" data-rule="required" data-source="store/store/index" class="form-control selectpage" name="row[store_id]" type="text" value="{$row.store_id|htmlentities}" data-field="name" data-primary-key="store_id">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Sales')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-sales" class="form-control" name="row[sales]" type="number" value="{$row.sales|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('拒绝原因')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reject_content"  class="form-control" name="row[reject_content]" type="text" value="{$row.reject_content|htmlentities}" placeholder="拒绝时填写">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
